<div class="formPanel">
<?php echo $this->session->flashdata("flash_mess") ;  ?>

<?php
		 echo validation_errors(); 
		$user = array  (
				'name'=> "username",
				'size'=> "25",
				'value'=> $info['username']
				);
		$pass = array		(
				'name'=>"password",
				'size'=> "25",
				);
		$pass2 = array(
				'name'=> "password2",
				'size'=> "25",		
		);
		
		$email = array		
				(
				'name'=>"email", 
				'size'=>"25",
				'value'=> $info['email']
			);
			
		$level  = array (
			
			'1'=> "member",
			'2'=> "Admin",
			'value'=> $info['level']
			);
			
		$submit = array (
			'name' =>"ok",
			'value'=>"submit",
			'class'=>"button",
		);
		
	echo form_fieldset('THE TABLE OF Editting USERS');	
	echo form_open(base_url()."admin/user/edit/".$info['id']);		// link tren web 
	//echo form_open(base_url()."admin/user/edit/");		// link tren web 
	echo form_label('LEVEL');
	echo form_dropdown('level',$level,2).'<br />'; 
	echo form_label('USERNAME','username');
	echo form_input($user).'<br />';
	echo form_label('PASSWORD','password');
	echo form_password($pass).'<br />';
	echo form_label('RE-PASSWORD','password');
	echo form_password($pass2).'<br />';
	
	echo form_label('EMAIL','email');
	echo form_input($email).'<br />';
	echo form_submit('ok','submit');
	echo form_fieldset_close(); 
		
?>

</div> 